<!--{include(pe_tpl('header_dialog.html'));}-->
<!--{if(count($refund_list)):}-->
<div class="tixing mab10 corg"><a href="admin.php?mod=refund&order_id={$info['order_id']}" target="_blank" class="cblue">本订单有{count($refund_list)}笔退款/退货待处理，若不处理直接发货，退款/退货申请将自动关闭！查看详情</a></div>
<!--{endif;}-->
<form method="post" id="form" autocomplete="off">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="wenzhang_border">
<tr>
	<td class="bgtt" width="150">订单编号：</td>
	<td>{$info['order_id']}</td>
</tr>
<tr>
	<td class="bgtt">收货地址：</td>
	<td>{$info['user_tname']}，{$info['user_phone']}，{$info['user_address']}</td>
</tr>
<tr>
	<td class="bgtt">快递公司：</td>
	<td>
		<select name="order_wl_name" class="inputselect">
		<option value="">无需快递</option>
		<!--{foreach($wlname_list as $v):}-->
		<!--{if(!$v)continue;}-->
		<option value="{$v}">{$v}</option>
		<!--{endforeach;}-->
		</select>
	</td>
</tr>
<tr>
	<td class="bgtt">快递单号：</td>
	<td><input type="text" name="order_wl_id" class="inputall input300" /></td>
</tr>
</table>
<div style="height:60px"></div>
<div class="right_bottom center">
	<input type="hidden" name="pe_token" value="{$pe_token}" />
	<input type="hidden" name="pesubmit" value="{$pe_token}" />
	<input type="button" value="确认发货" class="tjbtn">
</div>
</form>
<script type="text/javascript">
$(function(){
	$(":button").click(function(){
		if ($(":input[name='order_wl_name']").val() != '' && $(":input[name='order_wl_id']").val() == '') {
			alert('快递单号必须填写');
			return false;
		}
		pe_submit("{pe_nowurl()}", function(json){
			if (json.code == 1) pe_open('dialog', 600);
		});
	})
})
</script>
<!--{include(pe_tpl('footer_dialog.html'));}-->